package cn.edu.xhu.library_management.book.service;

import cn.edu.xhu.library_management.book.entity.LmBorrow;
import cn.edu.xhu.library_management.book.entity.dto.BookRecordDTO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 21086
* @description 针对表【lm_borrow(借阅表)】的数据库操作Service
* @createDate 2023-05-02 09:31:11
*/
public interface LmBorrowService extends IService<LmBorrow> {
    /**
     * 查询用户已归还借阅记录
     * @param account 账号
     * @return
     */
    List<BookRecordDTO> reBorrow(String account);

    /**
     * 查询用户未归还借阅记录
     * @param account 账号
     * @return
     */
    List<BookRecordDTO> noReBorrow(String account);
}
